package com.crm.crm.mapper;

import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.crm.crm.domain.RecordOne;
import org.apache.ibatis.annotations.Insert;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Select;

import java.util.List;

@Mapper
public interface RecordMapper extends BaseMapper<RecordOne> {

    void insertRecord(RecordOne recordOne);
    @Select("select * from record where clue_id = #{id}")
    List<RecordOne> selectRecord(Integer id);
}
